﻿using System;
using System.Windows;
namespace CoreModule
{
    /// <summary>
    /// 生命周期
    /// </summary>
    public interface IWindowLifetime
    {

        void ShowMask();
        void CloseMask();
        /// <summary>
        /// 关闭事件
        /// </summary>
        event EventHandler<EventArgs> WindowClosing;
        /// <summary>
        /// 
        /// </summary>
        event EventHandler<WindowModeEventArgs> WindowModeChanged;
        
        /// <summary>
        /// btn 读卡器 状态
        /// </summary>
        DeviceStatus RecognitionDeviceStatus { get; set; }
        
        /// <summary>
        /// btn 测量设备 状态
        /// </summary>
        DeviceStatus MeasurementDeviceStatus { get; set; }
       
        /// <summary>
        /// 当前 界面 类型
        /// </summary>
        RegionViewKind RegionViewKind { get; set; }

        /// <summary>
        /// 
        /// </summary>
        WindowMode WindowMode { get; set; }
        /// <summary>

        /// </summary>
        event EventHandler<EventArgs> RegionViewKindChanged;

        void HighlightMeasurementListMenu();



    }
}
